package com.haizhi.crm.biz.dao;

import com.haizhi.crm.biz.model.MessageDo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by wangshan on 2018/5/16.
 */
@Transactional
@Repository
public interface MessageDao extends JpaRepository<MessageDo, Long> {
    MessageDo findById(Long id);

}
